package com.liser.southernstar.net.model;

/**
 * Created by: var_rain.
 * Created date: 2018/10/21.
 * Description: 统一返回对象
 */
public class ApiRestful<T> {

    /* 返回状态码 */
    private Boolean ok;

    /* 提示信息 */
    private String msg;

    /* 数据对象 */
    private T obj;

    public Boolean getOk() {
        return ok;
    }

    public void setOk(Boolean ok) {
        this.ok = ok;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getObj() {
        return obj;
    }

    public void setObj(T obj) {
        this.obj = obj;
    }
}
